package com.xhg.mqtt.dto;

import java.util.List;

/**
 * @Name: Mqtt配置信息  
 * @Description: TODO
 * @Copyright: Copyright (c) 2018   
 * @Author chenxiaojun  
 * @Create Date 2018年7月26日  
 * @Version 1.0.0
 */
public class MqttConfigInfoDTO {
	//认证方式（0：无认证， 1：证书认证，:2：用户名密码认证）
	private int authType;
	//用户名（当认证方式为2时，启用用户名）
	private String username;
	//密码（当认证方式为1，2时，密码）
	private String password;
	//服务器信息
	private String[] uris;
	//订阅Topic信息
	private List<String> subscribeTopics;
	//推送topic
	private String pushTopic;
	//应答topic
	private String ackTopic;
	//省
	private String province;
	//市
	private String city;                       
	//区
	private String area;

    public int getAuthType() {
        return authType;
    }

    public void setAuthType(int authType) {
        this.authType = authType;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String[] getUris() {
        return uris;
    }

    public void setUris(String[] uris) {
        this.uris = uris;
    }

    public List<String> getSubscribeTopics() {
        return subscribeTopics;
    }

    public void setSubscribeTopics(List<String> subscribeTopics) {
        this.subscribeTopics = subscribeTopics;
    }

    public String getPushTopic() {
        return pushTopic;
    }

    public void setPushTopic(String pushTopic) {
        this.pushTopic = pushTopic;
    }

    public String getAckTopic() {
        return ackTopic;
    }

    public void setAckTopic(String ackTopic) {
        this.ackTopic = ackTopic;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }
}
